/* 布局背景 */
.layout-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 200%;
    height: 200%;
    pointer-events: none;
    border-top: 400px solid transparent;
    border-right: 400px solid transparent;
    border-bottom: 400px solid transparent;
    border-left: 400px solid transparent;
    border-image-slice: 400 400 400 400 fill;
    transform: scale(0.5);
    transform-origin: left top;
    border-image-source: url('./layout.webp');
}
.screen-ratio-16-9 {
    border-image-source: none;
    background: url('./layout_16_9.webp') no-repeat;
    background-size: 100% 100%;
    border: none;
}

/* 通用-普通-面板 */
.base-panel-container {
    position: relative;
    box-sizing: border-box;
    width: 400px;
}
.panel-big-title {
    font-family: PangMenZhengDao;
    font-size: 28px;
    margin-bottom: 10px;
}
.base-panel-container .base-panel-common-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 200%;
    height: 200%;
    border-top: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 120px solid transparent;
    border-left: 120px solid transparent;
    border-image-slice: 120 120 120 120 fill;
    transform: scale(0.5);
    transform-origin: left top;
    border-image-source: url('./panel.png');
}
.base-panel-container .base-panel-content {
    width: 100%;
    height: 100%;
    padding: 26px 16px 16px 16px;
}
.base-panel-container .base-panel-top-title {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 20px;
    line-height: 20px;
    margin-bottom: 16px;
}
.base-panel-container .base-panel-text-box {
    display: flex;
    align-items: center;
    font-weight: normal;
    color: #fff;
}
.base-panel-container .base-panel-text-box .title {
    font-size: 20px;
    font-weight: bolder;
    white-space: nowrap;
}
.base-panel-container .base-panel-default-content {
    width: 100%;
    height: calc(100% - 36px);
}

/* 通用普通弹窗 */
.base-pop-panel-pop-container {
    position: absolute;
    z-index: 10;
    top: 160px;
}
.base-pop-panel-pop-container.left {
    left: 926px;
}
.base-pop-panel-pop-container.screen_16_9.left {
    left: 56px;
}
.base-pop-panel-pop-container.show-left {
    left: 40px !important;
}
.base-pop-panel-pop-container.right {
    right: 420px;
}
.base-pop-panel-pop-container.center {
    left: 50%;
    transform: translateX(-50%);
}
.base-pop-panel-pop-container .base-pop-panel-common-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 200%;
    height: 200%;
    border-top: 160px solid transparent;
    border-right: 160px solid transparent;
    border-bottom: 160px solid transparent;
    border-left: 160px solid transparent;
    border-image-source: url('./pop-panel.png');
    border-image-slice: 160 160 160 160 fill;
    transform: scale(0.5);
    transform-origin: left top;
}
.base-pop-panel-pop-container .base-pop-panel-pop-detail {
    width: 100%;
    height: 100%;
}
.base-pop-panel-pop-container .base-pop-panel-title-line {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    font-weight: bolder;
    margin-bottom: 16px;
}
.base-pop-panel-pop-container .base-pop-panel-title-left {
    display: flex;
    align-items: center;
}
.base-pop-panel-pop-container .base-pop-panel-close {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.base-pop-panel-pop-container .base-pop-panel-close::before {
    position: absolute;
    top: -2px;
    left: 37%;
    width: 2px;
    height: 18px;
    content: '';
    background-color: #fff;
    transform: rotate(45deg);
}
.base-pop-panel-pop-container .base-pop-panel-close::after {
    position: absolute;
    top: -2px;
    left: 37%;
    width: 2px;
    height: 18px;
    content: '';
    background-color: #fff;
    transform: rotate(-45deg);
}
.base-pop-panel-pop-container .base-pop-panel-content {
    padding: 0 16px 16px 16px;
    height: calc(100% - 62px);
}

/* 地图弹窗 */
.base-map-pop-panel-container {
    position: relative;
    box-sizing: border-box;
}
.base-map-pop-panel-container .base-map-pop-panel-common-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 200%;
    height: 200%;
    border-top: 160px solid transparent;
    border-right: 160px solid transparent;
    border-bottom: 160px solid transparent;
    border-left: 160px solid transparent;
    border-image-source: url('./pop-panel.png');
    border-image-slice: 160 160 160 160 fill;
    transform: scale(0.5);
    transform-origin: left top;
}
.base-map-pop-panel-container .base-map-pop-panel-pop-detail {
    width: 100%;
    height: 100%;
}
.base-map-pop-panel-container .base-map-pop-panel-title-line {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 20px;
    font-weight: bolder;
    color: #fff;
    margin-bottom: 16px;
    line-height: 20px;
}
.base-map-pop-panel-container .base-map-pop-panel-title-left {
    display: flex;
    align-items: center;
}
.base-map-pop-panel-container .base-map-pop-panel-close {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.base-map-pop-panel-container .base-map-pop-panel-close::before {
    position: absolute;
    top: -2px;
    left: 37%;
    width: 2px;
    height: 18px;
    content: '';
    background-color: #fff;
    transform: rotate(45deg);
}
.base-map-pop-panel-container .base-map-pop-panel-close::after {
    position: absolute;
    top: -2px;
    left: 37%;
    width: 2px;
    height: 18px;
    content: '';
    background-color: #fff;
    transform: rotate(-45deg);
}
.base-map-pop-panel-container .base-map-pop-panel-content {
    padding: 0 16px 16px 16px;
    height: calc(100% - 62px);
}

/* 面板&数据选中样式 */
.base-panel-checked .base-panel-common-bg {
    border-image-source: url('./check-panel.png') !important;
}

.base-data-checked  {
    position: relative;
}

.base-data-checked::before {
    content: '';
    width: calc(100% + 12px);
    height: calc(100% + 8px);
    background: rgba(0, 71, 39, 1);
    outline: 1px solid rgba(0, 217, 164, 1);
    position: absolute;
    left: -6px;
    top: -4px;
    z-index: -1;
    user-select: none;
}
